You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="1" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="SupaHam" timestamp="2014-01-19T16:09:22Z" comment="Protected &quot;[[Main Page]]&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))" />
          <rev user="SupaHam" timestamp="2014-01-19T16:08:56Z" comment="Undo revision 522 by [[Special:Contributions/JodieCarmody|JodieCarmody]] ([[User talk:JodieCarmody|talk]])" />
          <rev user="JodieCarmody" timestamp="2014-01-18T20:49:45Z" comment="" />
          <rev user="SupaHam" timestamp="2014-01-10T14:07:34Z" comment="Reverted edits by [[Special:Contributions/78.146.32.22|78.146.32.22]] ([[User talk:78.146.32.22|talk]]) to last revision by [[User:MediaWiki default|MediaWiki default]]" />
          <rev user="78.146.32.22" anon="" timestamp="2014-01-09T20:08:53Z" comment="Replaced content with &quot;good man&quot;" />
        </revisions>
      </page>
    </pages>
  </query>
</api>